<?php require_once SITE_ROOT . "/mod/default/main.inc.php"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $seo['title'];?></title>
<?php if(isset($seo['keywords'])){ ?><meta name="keywords" content="<?php echo $seo['keywords'];?>" /><?php }?>
<?php if(isset($seo['description'])){ ?><meta name="description" content="<?php echo $seo['description'];?>" /><?php }?> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="<?=$tplpath?>/skin/c1b61765.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?=$tplpath?>/skin/438d2006.js"></script>
<script type="text/javascript" src="<?=$tplpath?>/skin/a2e975af.js"></script>
<script type="text/javascript" src="<?=$tplpath?>/skin/7ccb7204.js"></script>
<script type="text/javascript" src="<?=$tplpath?>/skin/e98a0f3c.js"></script>
<!-reload-!>
<script type="text/javascript" src="http://cbjs.baidu.com/js/m.js"></script>
<script type="text/javascript" src="<?=SITE_PATH."/templates/default/uaredirect.js"?>"></script>
<script type="text/javascript">uaredirect("http://<?=$site_url . $site_path?>/m/");</script>
</head>
<body style='background:#e9e9e7 url(<?=$tplpath?>/skin/2649d1a3.png) repeat-x scroll 0% 0%'>
<script>
var PDV_PAGEID='1'; 
var PDV_RP=''; 
var PDV_COLTYPE='index'; 
var PDV_PAGENAME='index'; 
</script>
<div id='contain' style='width:1002px;background:none transparent scroll repeat 0% 0%;margin:0px auto;padding:0px'>
  <div id='top' style='width:1002px;height:552px;background:none transparent scroll repeat 0% 0%'> 
    
    <!-- 头部自定义效果图 -->
    
    <div id='pdv_14670' class='pdv_class'  title='图片' style='width:1003px;height:550px;top:0px;left:0px; z-index:1'>
      <div id='spdv_14670' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 图片 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <img src="<?=$tplpath?>/skin/d358b0a0.png" border="0" width="100%" /> </div>
        </div>
      </div>
    </div>
    
    <!-- 图片轮播(S1) -->
    
    <div id='pdv_14488' class='pdv_class'  title='' style='width:1003px;height:401px;top:138px;left:0px; z-index:2'>
      <div id='spdv_14488' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/20b6e995.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="<?=$tplpath?>/skin/8ebe2b6b.js"></script> 
            <script>
		$(function(){
			$('#s1_slides').slides({
				preload: true,
				preloadImage: '<?=$tplpath?>/skin/s1-loading.gif',
				play: 5000,
				pause: 2500,
				hoverPause: true
			});
		});
	</script>
            <div id="s1_container">
              <div id="s1_example">
                <div id="s1_slides">
                  <div class="slides_container"> 
                  	<a href='<?=@_e($tpl_banner_1_link, "http://{$site_url}{$site_path}")?>' title='' target='_blank'><img src="<?=SITE_PATH . '/' . @thumb(_e($tpl_banner_1, "templates/{$skinid}/skin/ad1.jpg"), 980, 400)?>" width='980' height='400' alt='' border='0'></a> 
                    <a href='<?=@_e($tpl_banner_2_link, "http://{$site_url}{$site_path}")?>' title='' target='_blank'><img src="<?=SITE_PATH . '/' . @thumb(_e($tpl_banner_2, "templates/{$skinid}/skin/ad2.jpg"), 980, 400)?>" width='980' height='400' alt='' border='0'></a> 
                    <a href='<?=@_e($tpl_banner_3_link, "http://{$site_url}{$site_path}")?>' title='' target='_blank'><img src="<?=SITE_PATH . '/' . @thumb(_e($tpl_banner_3, "templates/{$skinid}/skin/ad3.jpg"), 980, 400)?>" width='980' height='400' alt='' border='0'></a> 
                   </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 二级下拉菜单 -->
    
    <div id='pdv_14364' class='pdv_class'   style='width:738px;height:53px;top:75px;left:265px; z-index:8'>
      <div id='spdv_14364' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 导航菜单 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/56d791a3.css" rel="stylesheet" type="text/css" />
            <script type="text/javascript" src="<?=$tplpath?>/skin/abded1cc.js"></script>
            <ul id="dropmenu">
            
              <li><a class="dropmenu_now" href="<?php echo SITE_PATH . '/';?>">网站首页</a> </li>            
			<?php foreach($system_tree_category as $k => $v) {?>
                <li><a href="<?=$v['category_link']?>"><?=$v['name']?></a>
                <!--二级栏目 -->
                <?php if (isset($v['subcategory']) && is_array($v['subcategory'])) { ?>
                    <ul>
                    <?php foreach ($v['subcategory'] as $kk => $vv) {?>
                        <li><a href="<?=$vv['category_link']?>"><?=$vv['name']?></a></li>
                    <?php }?>
                    </ul>
                <?php }?>
                </li>
              <?php }?>
              
            </ul>
            <div class="clear"> </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 网站标志 -->
    
    <div id='pdv_10806' class='pdv_class'  title='' style='width:220px;height:70px;top:35px;left:25px; z-index:9'>
      <div id='spdv_10806' class='pdv_top' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <a href="<?php echo SITE_PATH . '/';?>"><img src="<?=SITE_PATH . '/' . @thumb(_e("{$tpl_logo}",  "{$logofile}", "templates/{$skinid}/skin/logo.png"), 205, 52, 1)?>" border="0" /></a> </div>
        </div>
      </div>
    </div>
  </div>
  <div id='content' style='width:1002px;height:247px;background:#ffffff;margin:0px auto'> 
    
    <!-- 多行文字 -->
    
    <div id='pdv_14475' class='pdv_class'  title='多行文字' style='width:403px;height:191px;top:54px;left:30px; z-index:6'>
      <div id='spdv_14475' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 多行文字 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <div style="padding:0px;color:#505050;font:12px/25px simsun, Arial, Helvetica, sans-serif;text-indent:2em"><?=_e(@$p1, '第一栏描述，可以后台的首页设置中任意编辑。')?>...</div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 自选产品列表 -->
    <?php $catid = tpl_category_id(@$index_cat1, 'product');?>
    <div id='pdv_14655' class='pdv_class'  title='' style='width:525px;height:189px;top:56px;left:459px; z-index:7'>
      <div id='spdv_14655' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:inline"> <a href="<?=$system_category[$catid]['category_link']?>" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/1e60f96a.css" rel="stylesheet" type="text/css" />
            <div class="productlist_cyrano_lef">
              <div id="demo">
                <table align=left cellpadding=0 cellspace=0 border=0>
                  <tr>
                    <td id="demo1" valign=top><table border=0 cellpadding=0 cellspacing=0>
                        <tr>
                          
            <?php if(array_key_exists($catid, $system_category) && $system_category[$catid]['module'] == 'product'){ 
						$data = tpl_product_list("category={$catid}&limit=6&depth=1&status=8");  $list = $data['list'];
						if(is_array($list) && count($list) ) {
							foreach($list as $k => $v) {?>
                          <td>
                          <div class="border">
                              <div class="fang" style="width:160px;height:135px">
                                <div class="picFit" style="width:160px;height:135px"> <a href="<?=$v['html_link']?>" target="_self" ><img src="<?php echo SITE_PATH . "/"  . thumb($v['ptitle'], 160, 135);?>" style="width:160px;height:135px;" border="0" /></a> </div>
                              </div>
                              <a href="<?=$v['html_link']?>" target="_self"   ><?=_e(str_sub($v['name'], 30, '…'), "没有名字")?></a> </div></td>
					<?php }?>
						<?php } else {?>
                          <td>
                              <a href="#" target="_self">未正确选择分类</a> </div>
                          </td>
                        <?php } ?>
            <?php } else {?>
                      <td>
                          <a href="#" target="_self">未正确选择分类</a> </div>
                      </td>
            <?php } ?>
                              
                        </tr>
                      </table></td>
                    <td id="demo2" valign=top></td>
                  </tr>
                </table>
              </div>
            </div>
            <script>
$(function() {
$().picFit("fill");
});
</script> 
            <script>
	var speed=20;
	var GD=document.getElementById('demo'); 
	var GD1=document.getElementById('demo1');
	var GD2=document.getElementById('demo2');
	GD2.innerHTML=GD1.innerHTML;
	function Marquee(){
		if(GD2.offsetWidth-GD.scrollLeft<=0){
			GD.scrollLeft-=GD1.offsetWidth;
		}else{
			GD.scrollLeft++;
		}
	}
	var MyMar=setInterval(Marquee,speed);
	GD.onmouseover=function() {clearInterval(MyMar);}
	GD.onmouseout=function() {MyMar=setInterval(Marquee,speed);}
</script> 
          </div>
        </div>
      </div>
    </div>
    
    <!-- 空白边框 -->
    
    <div id='pdv_14720' class='pdv_class'  title='空白边框' style='width:419px;height:31px;top:13px;left:14px; z-index:10'>
      <div id='spdv_14720' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
          <div style="height:100%;">
            <div style="height:38px;border:0px;padding:0;margin:0;background:url(<?=$tplpath?>/skin/d23c9a0c.jpg) 0px 0px no-repeat;">
              <div style="z-index:11; position:absolute; margin-top:1px; margin-left:15px; font-size:14px"><strong><?=_e(@$p1_name, '第一栏名字')?></strong></div>
              <div style="float:right;width:49px;height:38px;background:url(<?=$tplpath?>/skin/d23c9a0c.jpg) -851px 0px no-repeat;"><a href="<?=_e(@$p1_link, "http://{$site_url}{$site_path}")?>" style="display:inline"><img src="<?=$tplpath?>/skin/3be97100.jpg" style="border:0px;padding:6px 0px 0px 0px;" /></a></div>
            </div>
            <div style="margin:0px;padding:0px;"> &nbsp; </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 空白边框 -->
    
    <div id='pdv_14721' class='pdv_class'  title='空白边框' style='width:529px;height:31px;top:13px;left:457px; z-index:11'>
      <div id='spdv_14721' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
          <div style="height:100%;">
            <div style="height:38px;border:0px;padding:0;margin:0;background:url(<?=$tplpath?>/skin/fb054966.jpg) 0px 0px no-repeat;">
              <div style="z-index:12; position:absolute; margin-top:0px; margin-left:15px; font-size:14px"><strong><?=$system_category[$catid]['name']?></strong></div>
              <div style="float:right;width:49px;height:38px;background:url(<?=$tplpath?>/skin/fb054966.jpg) -851px 0px no-repeat;"><a href="<?=$system_category[$catid]['category_link']?>" style="display:inline"><img src="<?=$tplpath?>/skin/bf5bb534.jpg" style="border:0px;padding:6px 0px 0px 0px;" /></a></div>
            </div>
            <div style="margin:0px;padding:0px;"> &nbsp; </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div id='bottom' style='width:1002px;height:152px;background:none transparent scroll repeat 0% 0%'> 
    
    <!-- 图片/FLASH -->
    
    <div id='pdv_10801' class='pdv_class'  title='' style='width:1004px;height:133px;top:0px;left:0px; z-index:3'>
      <div id='spdv_10801' class='pdv_bottom' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px"> <img src="<?=$tplpath?>/skin/36580140.png" border="0" width="100%" /> </div>
        </div>
      </div>
    </div>
    
    <!-- 底部菜单（一级） -->
    
    <div id='pdv_14414' class='pdv_class'   style='width:903px;height:31px;top:25px;left:50px; z-index:4'>
      <div id='spdv_14414' class='pdv_bottom' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 脚注栏目 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <link href="<?=$tplpath?>/skin/6ff759d3.css" rel="stylesheet" type="text/css" />
            <div id="bottommenu">
			<?php if (is_array($swap_text_links) && count($swap_text_links) ) {?>
            	友情链接 ：<?php foreach($swap_text_links as $k => $v) {?> <a href="<?=$v['href']?>" target="_blank"><?=$v['name']?></a>| <?php }?> 
            <?php }else{ ?>
				| <?php foreach($system_tree_category as $k => $v) {?> <a href="<?=$v['category_link']?>" target="_self"><?=$v['name']?></a>| <?php }?> 
            <?php }?>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 底部信息编辑区 -->
    
    <div id='pdv_14416' class='pdv_class'  title='脚注信息' style='width:827px;height:60px;top:90px;left:90px; z-index:5'>
      <div id='spdv_14416' class='pdv_bottom' style='overflow:hidden;width:100%;height:100%'>
        <div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px  solid;background:;">
          <div style="height:25px;margin:1px;display:none;background:;">
            <div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:"> 脚注信息 </div>
            <div style="float:right;margin-right:10px;display:none"> <a href="#" style="line-height:25px;color:">更多</a> </div>
          </div>
          <div style="padding:0px">
            <div style="width:100%;text-align:center;font:12px/20px Arial, Helvetica, sans-serif">
              <div style="TEXT-ALIGN: center; LINE-HEIGHT: 24px; MARGIN: 0px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; COLOR: #303030">版权所有 Copyright  &copy; <?=$company_name?> <script language="javascript" type="text/javascript">document.write('，<a href="http://www.miibeian.gov.cn" target="_blank"><?=$website_icp?></a>');</script>，<a href="<?=$site_path?>/archives/" target="_blank">网站地图</a></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">BAIDU_CLB_fillSlot("665944");</script>
<div id='bodyex'> </div>
<?php if(!empty($site_bgsound)){echo tpl_media_pay('mySound', $site_bgsound, 1, 1);  }?>
<?php if(is_array($online_service) && count($online_service)){ include "{$site_dir}/templates/default/online_service.tpl.php"; }?>
<?php if(!empty($stat_code)){ ?><div style="display:none"><?=$stat_code?></div><?php }?>
<noscript> <a href="http://www.winpc.cn">win7</a> </noscript>
</body>
</html>
